home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / FindCLI < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      FindCLI(31.0)      ARP Programmers Manual     FindCLI(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       FindCLI - Get    process    struct for CLI number
  10.  
  11.      SYNOPSIS
  12.       Process = FindCLI(tasknum)
  13.         d0        d0
  14.  
  15.      FUNCTION
  16.       This function    takes a    CLI task number    (such as given to
  17.       programs like    Status and Break) and returns a    pointer    to the
  18.       process structure base, or ZERO if there is no CLI
  19.       corresponding    to that    number.     If called with    the special
  20.       CLI number ZERO, the maximum possible    number of CLI
  21.       processes is returned.
  22.  
  23.      INPUTS
  24.       tasknum -The CLI task    number for the process,    or special
  25.           case ZERO, which returns the total number of process
  26.           slots.
  27.  
  28.      RESULT
  29.       Process - A process structure, or NULL.  If called with
  30.            tasknum = 0, the    total number of    allowable CLI
  31.            processes is returned.
  32.  
  33.      ADDITIONAL    CONSIDERATIONS
  34.       This function    does not Forbid() or do    any locking on its
  35.       own.    You must call this function only while your own    code
  36.       is running between Forbid() Permit() pairs.
  37.  
  38.      BUGS
  39.       None known.
  40.  
  41.      AUTHOR
  42.       SDB
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.